import Vue from 'vue'
import Router from 'vue-router'
import App from '@/App'
import goods from '@/components/goods/goods.vue'
import ratings from '@/components/ratings/ratings.vue'
import sellers from '@/components/sellers/sellers.vue'
Vue.use(Router)
export default new Router({
    routes: [{
            path: '/',
            redirect: 'goods'
        },
        {
            path: '/goods',
            name: 'goods',
            component: goods
        },
        {
            path: '/ratings',
            name: 'ratings',
            component: ratings
        },
        {
            path: '/sellers',
            name: 'sellers',
            component: sellers
        }
    ]
})